import Studycodemodel from "../../../mysql_interface/studycodemodel";
import { PropType } from "vue";
import { Apimatchuserquestion } from "../../../api";

export type MP = {
    time: PropType<{ isok: boolean; d: number; h: number; m: number; s: number }>;
    getm?: PropType<(s: string, e: string) => number>;
    match: PropType<Studycodemodel.Iactivity>;
    questionbank: PropType<Studycodemodel.Iquestionbank>
};

export type SMP = {
    time: { isok: boolean; d: number; h: number; m: number; s: number }
    getm?: (s: string, e: string) => number
    match: Studycodemodel.Iactivity
    questionbank: Studycodemodel.Iquestionbank
    matchuser: Apimatchuserquestion[]
    start: Function
    isnot: { err: number; msg: string }
}
